home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / lib.fmt / c / alarm.man < prev    next >
Encoding:
Text File  |  1989-01-05  |  1.3 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ALARM                 C Library Procedures                  ALARM
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      alarm - schedule signal after specified time
  10.  
  11. SSYYNNOOPPSSIISS
  12.      aallaarrmm((sseeccoonnddss))
  13.      uunnssiiggnneedd sseeccoonnddss;;
  14.  
  15. DDEESSCCRRIIPPTTIIOONN
  16.      TThhiiss iinntteerrffaaccee iiss mmaaddee oobbssoolleettee bbyy sseettiittiimmeerr((22))..
  17.  
  18.      _A_l_a_r_m causes signal SIGALRM, see _s_i_g_v_e_c(2), to be sent to
  19.      the invoking process in a number of seconds given by the
  20.      argument.  Unless caught or ignored, the signal terminates
  21.      the process.
  22.  
  23.      Alarm requests are not stacked; successive calls reset the
  24.      alarm clock.  If the argument is 0, any alarm request is
  25.      canceled.  Because of scheduling delays, resumption of exe-
  26.      cution of when the signal is caught may be delayed an arbi-
  27.      trary amount.  The longest specifiable delay time is
  28.      2147483647 seconds.
  29.  
  30.      The return value is the amount of time previously remaining
  31.      in the alarm clock.
  32.  
  33. SSEEEE AALLSSOO
  34.      sigpause(2), sigvec(2), signal(3C), sleep(3), ualarm(3),
  35.      usleep(3)
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sprite v1.0               May 27, 1986                          1
  64.  
  65.  
  66.  
  67.